package edu.biwu.service.impl;

import edu.biwu.service.UserService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

//@Component("userService")
//@Component
@Service
public class UserServiceImpl implements UserService {
    @Value("13")
    private int num;

    @Value("zhangsan")
    private String name;

    @Override
    public String toString() {
        return "UserServiceImpl{" +
                "name='" + name + '\'' +
                ", num=" + num +
                '}';
    }
}
